package com.zrrd.learn.framework.mvc.service;

import com.zrrd.learn.framework.mvc.dao.DemoDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author wrn
 * @version 1.0
 * @date 2023/9/18 11:03
 */
@Service
public class DemoService {

    @Resource
    DemoDao demoDao;

    public List<Integer> showall(){
        return demoDao.showall();
    }

}